import React from 'react';
import {FlatList} from 'react-native'
import BaseComponent from "./BaseComponent";
import {Appearance} from "react-native-appearance";
import Color from "../utils/Color";

const backgroundColor = Appearance.getColorScheme() === 'dark' ? Color.darkBg : Color.lightBg
export class BaseFlatListComponent extends BaseComponent {
    constructor(props) {
        super(props);
    }

    containerStyle = {flex: 1, backgroundColor: backgroundColor}
    _renderComponents() {
        // return (
            // <FlatList
            //     style={{backgroundColor: backgroundColor}}
            //     renderItem={this.renderRow}
            //     data={this.state.data}
            //     keyExtractor={this._keyExtractor}
            //     numColumns={cols}
            //     horizontal={false}
            // />
        // )
    }
}
